<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 - 页面未找到</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            text-align: center;
            padding: 20px;
        }

        .container {
            max-width: 600px;
        }

        h1 {
            font-size: 8rem;
            color: #2d3436;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }

        h2 {
            font-size: 1.5rem;
            color: #495057;
            margin-bottom: 30px;
            font-weight: 400;
        }

        p {
            color: #6c757d;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .home-btn {
            padding: 12px 30px;
            background-color: #4a90e2;
            color: white;
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s ease;
            display: inline-block;
            font-weight: 500;
            border: 2px solid transparent;
        }

        .home-btn:hover {
            background-color: #357abd;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 6rem;
            }
            
            h2 {
                font-size: 1.2rem;
            }
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .container {
            animation: fadeIn 0.6s ease-out;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>404</h1>
        <h2>哎呀！页面好像迷路了</h2>
        <p>您访问的页面可能已被移除、暂时不可用或输入了错误的网址。</p>
        <a href="/" class="home-btn">返回首页</a>
    </div>

    <!-- 可选：添加自动跳转功能 -->
    <script>
        // 可选：7秒后自动跳转回首页
        setTimeout(function() {
            window.location.href = "/";
        }, 7000); // 7000毫秒 = 7秒
    </script>
</body>
</html>